using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools
{
    /// <summary>
    /// <para>TIN Difference</para>
    /// <para>Calculates the volumetric difference between two TIN datasets.</para>
    /// <para>计算两个 TIN 数据集之间的体积差。</para>
    /// </summary>    
    [DisplayName("TIN Difference")]
    public class TinDifference : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public TinDifference()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_tin1">
        /// <para>Input TIN</para>
        /// <para>The first input TIN.</para>
        /// <para>第一个输入 TIN。</para>
        /// </param>
        /// <param name="_in_tin2">
        /// <para>Input TIN</para>
        /// <para>The second input TIN.</para>
        /// <para>第二个输入 TIN。</para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Feature Class</para>
        /// <para>The output polygon feature class.</para>
        /// <para>输出面要素类。</para>
        /// </param>
        public TinDifference(object _in_tin1, object _in_tin2, object _out_feature_class)
        {
            this._in_tin1 = _in_tin1;
            this._in_tin2 = _in_tin2;
            this._out_feature_class = _out_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "TIN Difference";

        public override string CallName => "3d.TinDifference";

        public override List<string> AcceptEnvironments => ["XYDomain", "XYResolution", "XYTolerance", "extent", "outputCoordinateSystem", "scratchWorkspace", "workspace"];

        public override object[] ParameterInfo => [_in_tin1, _in_tin2, _out_feature_class];

        /// <summary>
        /// <para>Input TIN</para>
        /// <para>The first input TIN.</para>
        /// <para>第一个输入 TIN。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input TIN")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tin1 { get; set; }


        /// <summary>
        /// <para>Input TIN</para>
        /// <para>The second input TIN.</para>
        /// <para>第二个输入 TIN。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input TIN")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tin2 { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para>The output polygon feature class.</para>
        /// <para>输出面要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        public TinDifference SetEnv(object XYDomain = null, object XYResolution = null, object XYTolerance = null, object extent = null, object outputCoordinateSystem = null, object scratchWorkspace = null, object workspace = null)
        {
            base.SetEnv(XYDomain: XYDomain, XYResolution: XYResolution, XYTolerance: XYTolerance, extent: extent, outputCoordinateSystem: outputCoordinateSystem, scratchWorkspace: scratchWorkspace, workspace: workspace);
            return this;
        }

    }

}